#include <QCoreApplication>
#include <iostream>

int dtk(int &);

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    int temperature;
    start:
    std::cout << "Enter your temperature in C: ";
    std::cin >> temperature;
    std::cout << "Temperature in K: " << dtk(temperature) << std::endl << std::endl;
    goto start;
    return a.exec();
}

int dtk(int &a)
{
    return a+273;
}
